# -*- coding: utf-8 -*-
from urllib.parse import urlparse
from urllib.parse import parse_qs

import requests
import re
import json
import datetime
import random
import time
import jieba
import demjson

# jieba.load_userdict("dict.txt")
# import jieba.posseg as pseg

from gaokaopai.dao  import *

def getCode(url, num):
    r = urlparse(url)
    return r.path.split('-')[int(num)]

def multiple_replace(string, rep_dict):
    pattern = re.compile("|".join([re.escape(k) for k in rep_dict.keys()]), re.M)
    return pattern.sub(lambda x: rep_dict[x.group(0)], string)

def getYmd():
    return datetime.datetime.strftime(datetime.datetime.now(), '%Y-%m-%d')

def getUnixtime():
    return int(time.mktime(datetime.datetime.now().timetuple()))

def filterEmpty(str):
    str = str.strip()
    if str != '':
        return str

def getBKDXCid(url):
    url_arg = urlparse(url)
    return parse_qs(url_arg.query)

def getNum(str):
    if str == "":
        return 0
    ret = re.findall('\d+', str)
    return int(''.join(ret))

if __name__ == '__main__':


    str = '''






<!doctype html>
<!--[if IE 8]><html class="ie8 lte9" lang="zh-CN"><![endif]-->
<!--[if IE 9]><html class="ie9 lte9" lang="zh-CN"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html lang="zh-CN"><!--<![endif]-->

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="高考志愿填报，高考志愿填报指南，高考志愿填报模拟">
    <meta name="description" content="第一高考网提供广播电视学的专业介绍、权威数据排名、开设院校、就业情况等信息。">
    <title>广播电视学专业就业解析-第一高考网</title>

    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://www.diyigaokao.com/apple-touch-icon-144-precomposed.png">
    <link rel="shortcut icon" href="http://s.diyigaokao.com/v4/sprite/favicon.ico">
    <link rel="icon" type="image/x-icon" href="http://s.diyigaokao.com/v4/sprite/favicon.ico">
    <link rel="stylesheet" href="http://s.diyigaokao.com/v4/css/g-2.css">
    <!--头部v5版本样式-->
    <link rel="stylesheet" href="http://s.diyigaokao.com/v5/css/g-headerfooter.css">

    <!--[if lt IE 9]><script type="text/javascript" src="http://s.diyigaokao.com/v4/script/html5shiv.js"></script><![endif]-->
    <script src="http://s.diyigaokao.com/v4/script/core/do.js" data-cfg-corelib="http://s.diyigaokao.com/v4/script/core/jquery.js"></script>

    <link rel="stylesheet" href="http://s.diyigaokao.com/v4/css/searchSpecialty-result.css">


    <script>
        // 全站共用
        var $PAGE_CONFIG = {
            'province': '江苏',
            'UType': '0'
        };
        Do.define('GaoKao', {
            path: 'http://s.diyigaokao.com/v5/script/core/g.js',
            type: 'js',
            requires: [
                'http://s.diyigaokao.com/v4/script/core/jqCookie.js',
                'http://s.diyigaokao.com/v4/script/core/validator.js',
                'http://s.diyigaokao.com/v4/script/core/underscore.js',
                'http://s.diyigaokao.com/v4/script/plugin/blockUI.js',
                'http://s.diyigaokao.com/v4/css/plugin/blockUI.css'
            ]
        });
        Do.ready('GaoKao', function () {
             //整站 初始化函数
            GaoKao.main.init();
        });

        //退出
        Do.ready(function () {
            $('#logouta').click(function () {
                $("#logoutForm").submit();
            });
        });

    </script>
</head>

<body>
    <div id="header" class="grid-header">







<!-- 共用-头部 start -->
<div class="g-header">
    <div class="navTop m-nav">
        <div class="g-wrapper">
            <div class="m-nav__info">
               <small>第一高考网 &nbsp; 伴你高中升学路</small>
            </div>

            <div class="links">
                <ul class="cf">
                   <li class="user" id="J-g-header-user" data-url="/unreadtotal"><!--未读消息-->

                            <span class="login"><a href="/login" title="请登录"><i></i>您好，[请登录]</a>&nbsp;</span>
                            <span><a href="/register" title="免费注册">[免费注册]</a></span>


                    </li>
                    <!--<li class="buy"><a href="/buy/query" title="购卡查询"><i></i>购卡查询</a></li>-->
                    <li class="help"><a href="/system/introduce" title="系统介绍"><i></i>系统介绍</a></li>
                    <li class="app">
                        <a href="http://s.diyigaokao.com/app/appIntro.html" title="手机app"><i></i>手机app</a>
                        <div class="popup"><img src="http://s.diyigaokao.com/v5/sprite/手机网站.png"></div>
                    </li>
                    <li class="allNav">
                        <a href="javascript:;" title="网站导航"><i></i>网站导航</a>
                        <div class="popup">
                            <dl class="pop-list1">
                                <dt>生涯规划</dt>
                                <dd>
                                    <a href="/college">院校查询</a>
                                    <a href="/major/">了解大学专业</a>
                                    <a href="/ceping/holland/">自我评估</a>
                                    <a href="/xuezhiqun/4">大学生聊专业</a>

                                    <a href="/ceping/branch">文理分科</a>


                                    <a href="/occupation/list">探索未来职业</a>
                                    <a href="/careerplan/program">生涯讲堂</a>
                                    <a href="/video/">中国名校展播</a>
                                </dd>
                            </dl>
                            <dl class="pop-list2">
                                <dt>学习提升</dt>
                                <dd>
                                    <a href="/learning/material">知识讲解视频</a>
                                    <a href="/learning/test">在线答题解析</a>
                                    <a href="/learning/exam">学习资料下载</a>
                                </dd>
                            </dl>
                            <dl class="pop-list3">
                                <dt>志愿填报</dt>
                                <dd>
                                    <!-- 未开放志愿填报的省份 屏蔽以下菜单 -->

                                        <a href="/zhiyuan/score">智能模拟填报</a>

                                    <a href="/score">批次线查询</a>
                                    <a href="/dataquery/college/score">院校数据查询</a>
                                    <a href="/dataquery/major/score">专业数据查询</a>
                                    <a href="/dataquery/plan/college">招生计划查询</a>

                                        <a href="/dataquery/zouxiang">考生走向查询</a>

                                    <a href="/dataquery/compare/college/">院校专业对比</a>
                                    <a href="/zhinan">高考志愿学堂</a>
                                </dd>
                            </dl>
                            <dl class="pop-list4">
                                <dt>帮助中心</dt>
                                <dd>
                                    <a href="/help">帮助中心</a>
                                    <a href="/wiki/">高考百科</a>
                                    <a href="/careerplan/course/detail/956">系统操作演示</a>
                                    <a href="/news">新闻资讯</a>
                                    <!-- 未开放志愿填报的省份 屏蔽以下菜单 -->

                                        <a href="/one2one">1对1专家咨询</a>

                                    <a href="/zhidao">在线问答</a>
                                </dd>
                            </dl>
                        </div>
                    </li>
                </ul>
            </div>

        </div>
    </div>

    <div class="navMenu m-menu">
        <div class="g-wrapper">
            <div class="info">
                <h2 class="logo">



                            <a href="/" title="第一高考网"><img src="http://s.diyigaokao.com/v5/sprite/logo.png" alt="第一高考网" width="174"></a>


                </h2>
                <div class="region">



                            <em>[<span>江苏版</span><i></i>]</em>
                            <div class="box">
                                <ul>
                                    <li><a>江苏</a></li><li><a>浙江</a></li><li><a>安徽</a></li><li><a>河南</a></li><li><a>河北</a></li>
                                    <li><a>湖南</a></li><li><a>湖北</a></li><li><a>江西</a></li><li><a>广东</a></li><li><a>广西</a></li>
                                    <li><a>山东</a></li><li><a>山西</a></li><li><a>陕西</a></li><li><a>贵州</a></li><li><a>云南</a></li>
                                    <li><a>四川</a></li><li><a>重庆</a></li><li><a>辽宁</a></li><li><a>吉林</a></li><li><a>福建</a></li>
                                    <li><a>新疆</a></li><li><a>甘肃</a></li><li><a>黑龙江</a></li><li><a>内蒙古</a></li>
                                </ul>
                                <form action="/version/" enctype="text/html; charset=UTF-8" method="POST" id="versionform">
                                    <input type="hidden" name="_csrf" value="9f5fae21-6eef-41a2-8340-32f3af6c9532" />
                                    <input type="hidden" id="versionname" name="version" value="江苏" />
                                    <input type="hidden" id="changeurl" name="changeurl" value="" />
                                </form>
                            </div>


                </div>
            </div>

            <div class="navbar">
                <ul class="cf nav-wrap">
                    <li data-homepage><a href="/" title="首页">首页</a></li>
                    <li data-planning>
                        <a href="/careerplan" title="生涯规划">生涯规划<i></i></a>
                        <div class="submenu-pop submenu-plan">
                            <ul class="cf">
                                <li><a href="/college" title="院校查询">院校查询</a></li>
                                <li><a href="/video/" title="中国名校展播">中国名校展播</a></li>
                                <li><a href="/ceping/holland/" title="自我评估">自我评估</a></li>
                                <li><a href="/major/" title="了解大学专业">了解大学专业</a></li>
                                <li class="key-green"><a href="/careerplan/program" title="生涯讲堂">生涯讲堂<i></i></a></li>
                                <li><a href="/occupation/list" title="探索未来职业">探索未来职业</a></li>

                                <li><a href="/ceping/branch" title="文理分科">文理分科</a></li>



                                <li><a href="/xuezhiqun/4" title="大学生聊专业">大学生聊专业</a></li>
                            </ul>
                        </div>
                    </li>
                    <li data-learning>
                        <a href="/learning" title="学习提升">学习提升<i></i></a>
                        <div class="submenu-pop submenu-fln">
                            <ul class="cf">
                                <li class="key-green"><a href="/learning/material" title="知识讲解视频">知识讲解视频<i></i></a></li>
                                <li><a href="/learning/test" title="在线答题解析">在线答题解析</a></li>
                                <li><a href="/learning/exam" title="学习资料下载">学习资料下载</a></li>
                            </ul>
                        </div>
                    </li>
                    <li data-zhiyuan>
                        <a href="/zhiyuan" title="志愿填报">志愿填报<i></i></a>
                        <div class="submenu-pop submenu-wish">
                            <ul class="cf">
                                <!-- 未开放志愿填报的省份 屏蔽以下菜单 -->

                                    <li class="key-green"><a href="/zhiyuan/score" title="智能模拟填报">智能模拟填报<i></i></a></li>

                                <li><a href="/score" title="批次线查询">批次线查询</a></li>
                                <li><a href="/dataquery/college/score" title="院校数据查询">院校数据查询</a></li>
                                <li><a href="/dataquery/major/score" title="专业数据查询">专业数据查询</a></li>
                                <li><a href="/dataquery/plan/college" title="招生计划查询">招生计划查询</a></li>

                                    <li><a href="/dataquery/zouxiang" title="考生走向查询">考生走向查询</a></li>

                                <li><a href="/dataquery/compare/college/" title="院校专业对比">院校专业对比</a></li>
                                <li><a href="/zhinan" title="高考志愿学堂">高考志愿学堂</a></li>
                            </ul>
                        </div>
                    </li>
                    <li data-helpcenter>
                        <a href="/help" title="帮助中心">帮助中心<i></i></a>
                        <div class="submenu-pop submenu-fln submenu-help">
                            <ul>
                                <li><a href="/help" title="帮助中心">帮助中心</a></li>
                                <li><a href="/wiki" title="高考百科">高考百科</a></li>
                                <li><a href="/news" title="新闻资讯">新闻资讯</a></li>
                                <li class="key-green"><a href="/one2one" title="1对1专家咨询">1对1专家咨询<i></i></a></li>
                                <li><a href="/zhidao" title="在线问答">在线问答</a></li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="buy-card">
                <a href="/buy" title="购买前程卡"><i></i>购买前程卡</a>
            </div>
        </div>
    </div>

</div>
<!-- 共用-头部 end -->

<!--共用-边工具条 start-->
<div class="g-dish" id="J-g-dish">
    <ul>
        <li class="tel">
            <a class="icon" href="javascript:;" target="_self"><i class="lady"></i><i class="g-iconfont">&#57346;</i><span>咨询</span></a>
            <div class="detail">
                <span>全国服务热线</span>
                <b>4000-018-593</b>
                <span class="weekdays">工作日 9:00~18:00</span>
                <span><a id="robot" href="#">咨询在线客服</a></span>
                <span><a href="http://www.diyigaokao.com/news/detail/13235">加入官方服务群</a></span>
            </div>
        </li>
        <li class="wx">
            <a rel="external nofollow" class="icon" href="http://bwt.zoosnet.net/LR/Chatpre.aspx?id=BWT49140730&lng=cn&p=wangzhan" target="_blank"><i class="g-iconfont">&#57366;</i><span>关注</span></a>
            <div class="detail">
                <span class="wx-title">微信扫一扫<br/>高考资讯早知道</span>
                <span><img alt="站点首页" width="100" height="100" src="http://s.diyigaokao.com/v5/sprite/20170904143553.png" style="display: inline;"></span>
            </div>
        </li>
        <li class="app">
            <a class="icon" href="javascript:;"><i class="g-iconfont">&#57365;</i><span>APP</span></a>
            <div class="detail">
                <span>下载手机APP</span>
                <span><img alt="" width="100" height="100" src="http://s.diyigaokao.com/v5/sprite/20170904143552.png"></span>
            </div>
        </li>
        <li class="back">
            <a class="icon" href="/suggestion/box"><i class="g-iconfont">&#57398;</i><span>反馈</span></a>
        </li>
        <li class="gotop">
            <a class="icon" href="javascript:;" id="J-g-dish-gotop" title="回顶部"><i class="g-iconfont iconfont-top">&#57363;</i></a>
        </li>
    </ul>
</div>
<!--共用-边工具条 end-->


<!--引入用户权限弹窗 start-->





<!-- 共用-用户权限弹窗 start -->
<div class="g-userAuthorityModal g-hidden" id="J-g-userAuthorityModal">
    <!-- 登录 -->
    <div class="modal modal_login g-hidden" id="J-g-userAuthorityModal-login">

        <i class="close" title="关闭">&times;</i>

        <div class="pic"><img src="http://s.diyigaokao.com/v3/sprite/2015120506.png" alt=""></div>

        <div class="form">
            <h3>登录后继续</h3>

                <fieldset id="J-g-userAuthorityModal-login-form" data-action="/login">
                    <input type="hidden" name="browserVersion" value="">
                    <div class="collection">
                        <div class="portion name">
                            <dl>
                                <dt><i></i></dt>
                                <dd>
                                    <input class="g-input" type="text" name="username" placeholder="前程卡号/手机号/邮箱" value="" required data-validator="请输入账号">
                                </dd>
                            </dl>
                        </div>
                        <div class="portion password">
                            <dl>
                                <dt><i></i></dt>
                                <dd>
                                    <input class="g-input" type="password" name="password" placeholder="密码" value="" required data-validator="请输入密码">
                                </dd>
                            </dl>
                        </div>
                        <div class="portion opt">
                            <label class="g-input-checkbox"><input type="checkbox" name="isRemeberMe" value="1">记住账号</label>
                            <a href="/findpwd/" title="点击找回密码">忘记密码？</a>
                        </div>
                    </div>
                    <div class="action">
                        <button id="J-g-userAuthorityModal-login-form-submit" class="g-button g-button-main" type="button">登&nbsp;&nbsp;录</button>
                        <input type="hidden" name="_csrf"
                               value="9f5fae21-6eef-41a2-8340-32f3af6c9532" />
                    </div>
                    <div class="other">
                        <a class="qq" href="/qqpclogin?ReturnUrl=/">快速登录<i></i></a>
                        <a class="register" href="/register">免费注册</a>
                    </div>
                </fieldset>

        </div>
    </div>


    <div class="modal modal_vip g-hidden" id="J-g-userAuthorityModal-vip">
    	<i class="close" title="关闭">&times;</i>
    	<h3><i></i><span>仅限<em>前程卡</em>用户使用！</span></h3>



                <p>
                    <a class="g-button g-button-main" href="/card/" target="_blank">已有<em>前程卡</em>？ 激活 &raquo;</a>
                    <a class="g-button g-button-main" href="/buy/" target="_blank">没有<em>前程卡</em>？ 购买 &raquo;</a>
                </p>



    </div>

<!--     仅限前程卡用户
    <div class="modal modal_vip g-hidden" id="J-g-userAuthorityModal-vip">
        <i class="close" title="关闭">&times;</i>
        <h3><i></i><span>仅限前程卡用户使用！</span></h3>
        <p><a class="g-button g-button-main" href="/card/" target="_blank">已有前程卡？ 激活 &raquo;</a><a class="g-button g-button-main" href="/buy/" target="_blank">没有前程卡？ 购买 &raquo;</a></p>
    </div>

     仅限钻石卡用户
    <div class="modal modal_vip modal_vvip g-hidden" id="J-g-userAuthorityModal-vvip">
        <i class="close" title="关闭">&times;</i>
        <h3><i></i><span>仅限钻石卡用户使用！</span></h3>
        <p><a class="g-button g-button-main" href="/card/" target="_blank">已有钻石卡？ 激活 &raquo;</a><a class="g-button g-button-main" href="/buy/" target="_blank">没有钻石卡？ 购买 &raquo;</a></p>
    </div>

     仅限金卡、钻石卡用户
    <div class="modal modal_vip modal_vvvip g-hidden" id="J-g-userAuthorityModal-vvvip">
        <i class="close" title="关闭">&times;</i>
        <h3><i></i><span>仅限金卡、钻石卡用户使用！</span></h3>
        <p><a class="g-button g-button-main" href="/card/" target="_blank">已有金卡、钻石卡？ 激活 &raquo;</a><a class="g-button g-button-main" href="/buy/" target="_blank">没有金卡、钻石卡？ 购买 &raquo;</a></p>
    </div>

     仅限金卡、钻石卡、教师卡用户
    <div class="modal modal_vip modal_vvvvip g-hidden" id="J-g-userAuthorityModal-vvvvip">
        <i class="close" title="关闭">&times;</i>
        <h3><i></i><span>仅限金卡、钻石卡、教师卡用户使用！</span></h3>
        <p><a class="g-button g-button-main" href="#" target="_blank">已有金卡、钻石卡、教师卡？ 激活 &raquo;</a><a class="g-button g-button-main" href="#" target="_blank">没有金卡、钻石卡、教师卡？ 购买 &raquo;</a></p>
    </div>-->
<!-- 验证码 -->

    <div class="modal modal_code g-hidden" id="J-g-userCodeAuthority-code">
        <i class="close" title="关闭">&times;</i>
        <h3>由于您的查询次数过于频繁，请输入验证码或算式结果</h3>
        <fieldset data-action="/code/checkcode" id="J-modal_code">

            <dfiv class="collection">
                <span class="code" title="点击刷新验证码" id="J-code" ></span>
                <input type="text" class="g-input" id="J-codeinput" name="code_limitquery" required data-validator="请输入验证码">

            </dfiv>
            <input type="hidden" name="_csrf" value = "9f5fae21-6eef-41a2-8340-32f3af6c9532">

            <div class="action">
                <button class="g-button g-button-blue-linear" type="button"  id="J-modal_code-submit">确定</button>
            </div>
        </fieldset>
    </div>


    <div class="modal modal_illegal g-hidden" id="J-g-userCodeAuthority-illegal">
        <i class="close" title="关闭">&times;</i>
        <h3>操作失败！您的账号由于违规操作而被禁用此功能。请联系客服获取更多信息。</h3>
    </div>
    <div class="overlay"></div>

</div>
<!-- 共用-用户权限弹窗 end -->


<!--引入用户权限弹窗 end-->

<script>
    //版本切换
    Do.ready(function () {
        $('div .region .box ul li a').click(function (e) {
            e.preventDefault();
            var url = window.location.href.toString();
            var version = $(this).text();
            $('#versionname').val(version);
            $('#changeurl').val(url);
            $("#versionform").submit();
        });
    });

    Do.ready(function () {
        var href = $(".user .login a").attr("href");
        var url = window.location.pathname;
        $(".user .login a").attr("href", href + "?ReturnUrl=" + url);
        $("#robot").click(function ()
        {
            var width = 800;
            var height = 576;
            //获得窗口的垂直位置
            var iTop = (window.screen.availHeight - height) / 2;
            //获得窗口的水平位置
            var iLeft = (window.screen.availWidth - width) / 2;
            window.open('http://s.diyigaokao.com/consultation/robot.html?v01','_blank', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=' + width + ',height=' + height + ',top=' + iTop + ',left=' + iLeft);
        });
    });

    //侧边工具栏
    Do.ready(function(t) {
        var n =$("#J-g-dish");
        function scrollTop() {
            $("#J-g-dish-gotop").on("click", function(e) {
                e.preventDefault();
               $("html, body").animate({
                   scrollTop: 0
               }, 300)
            })
        }
        function preventClick() {
            n.on("click", ".wx a.icon", function(t) {
                t.preventDefault()
            }).on("click", ".faq a.icon", function(t) {
                t.preventDefault()
            })
        }
        if(n[0]){
            scrollTop();
            preventClick();
        }
    })

    /*判断PC端还是移动端，跳转App下载页*/
    Do.ready(function () {
        var sUserAgent = navigator.userAgent.toLowerCase();
        var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
        var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
        var bIsMidp = sUserAgent.match(/midp/i) == "midp";
        var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
        var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
        var bIsAndroid = sUserAgent.match(/android/i) == "android";
        var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
        var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
        if ((bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) {
            $(".app a").attr("href", "http://s.diyigaokao.com/app/index.html?v007");
        }
    });

    /*顶部庆祝*/
    Do.ready('http://s.diyigaokao.com/v4/script/core/jqCookie.js', function () {
        var box = $('#J-topCelebration'),
                bPic = $('#J-topCelebration-big'),
                sPic = $('#J-topCelebration-small'),
                closeBtn = sPic.find('i');
        if ($.cookie('topCelebration') == 2) {
            return;
        }
        sPic.on('click', function () {
            //$.cookie('topCelebration', '2', { expires: 200, path: '/' });
        });
        closeBtn.on('click', function (e) {
            $.cookie('topCelebration', '2', {expires: 200, path: '/'});
            box.hide();
        });
        if ($.cookie('topCelebration') == 1) {
            sPic.show();
            return;
        }
        bPic.slideDown('slow').delay(3000).animate({
            height: sPic.height()
        }, 'slow', function () {
            bPic.hide();
            sPic.show();
            //$.cookie('topCelebration', '1', { expires: 200, path: '/' });
        }).on('click', function () {
            //$.cookie('topCelebration', '2', { expires: 200, path: '/' });
        });
    });
</script>


    </div>
    <div id="content">








<div class="grid-body page-searchSpecalty-result">
    <div class="grid-row">
        <!--面包屑 star-->
        <div class="g-breadcrumb">
            <p><a title="第一高考网" href="/" class="home">第一高考网</a><i>&gt;</i><strong><a title="了解专业" href="/major/">了解专业</a></strong><i>&gt;</i><strong><a title="广播电视学">广播电视学</a></strong></p>
        </div>
        <!--面包屑 end-->
    </div>

    <!-- 专业查询结果-介绍 start -->
    <div class="searchSpecalty-result-intro">
        <div class="g-wrapper">

            <div class="cf m-intro-wrap">
                <dl>
                    <dt>广播电视学(本科)</dt>









                                <dd class="m-intro7">


                                    <a target="_blank" href="/xuezhiqun/7"></a>
                                    <div class="u-tips">
                                        <span class="icon"> <i></i></span>
                                        <p>语言与教育、传媒群</p>
                                    </div>
                                </dd>



                </dl>

                <div class="m-intro-right">
                    毕业<em>5</em>年薪酬：<b>￥7185</b>
                    </div>
                </div>

                <ul>
                    <li>广播电视学(本科)</li>
                <li>所属学科：文学</li>
                <li>所属门类：新闻传播学类</li>
                <li>专业代码：050302    </li>
            </ul>
            <div class="add" id="J-page-specaltly-opt">
                <button class="g-button favorite" data-fav-majorid="1116" data-userauthority="1" title="加关注"><i></i>关注</button>
            </div>
        </div>
    </div>
    <script>
        //收藏关注
        Do.ready('GaoKao', function () {
            GaoKao.app.favorite.checkFav($('#J-page-specaltly-opt button[data-fav-majorid]'));
        });
    </script>

    <div class="grid-row">







<div class="grid-col-1">
    <!-- 专业查询结果-菜单导航 start -->
    <div class="nav" id="J-searchSpecaltly-nav">
        <ul>
            <li >
                <a href="/major/050302/">专业详情</a>
            </li>


            <li >
                <a href="/major/050302/openCollege">开设院校</a>
            </li>

                <li >
                    <a href="/major/050302/profession">专业特质</a>
                </li>

            <li  class="active" >
                <a href="/major/050302/analysisEmploy">就业解析</a>
            </li>


                <li >
                    <a href="/major/050302/schoolGroup" class="majorGroup">学职<i></i></a>
                </li>

        </ul>
    </div>
    <!-- 专业查询结果-菜单导航 end -->
</div>

        <div class="content grid-col-2">
            <div class="inner inner_effect">
                <!-- 专业查询结果-就业分布 start -->

                <h3 id="employment">广播电视学专业就业方向 </h3>
                <div class="chart">
                    <div class="pie" id="pie" style="width: 430px; height: 490px; position: relative">
                    </div>
                    <div class="bar" id="bar" style="width: 430px; height: 390px; position: relative">
                    </div>
                </div>

            <!-- 专业查询结果-就业分布 end -->


            <!-- 专业查询结果-平均薪酬 start -->
            <h3 id="averagePay">广播电视学专业毕业生平均薪酬</h3>



                        <div class="line" id="line" style="width: 920px; height: 300px; position: relative">
                        </div>
                        <script>

                            Do.ready('http://s.diyigaokao.com/v3/script/plugin/highcharts.js', function () {
                                $(function () {
                                    $('#line').highcharts({
                                        chart: {
                                            style: {
                                                padding: '40px 55px 0px 0px',
                                                position: 'absolute',
                                                top: 0,
                                                left: 0
                                            }
                                        },
                                        credits: {
                                            enabled: false
                                        },
                                        legend: {
                                            enabled: false
                                        },
                                        title: {
                                            text: null
                                        },
                                        xAxis: {
                                            lineWidth: 2,
                                            lineColor: '#555',
                                            tickInterval: 1,
                                            allowDecimals: false,
                                            categories: ['应届', '1年', '2年', '3年', '4年', '5年', '6年', '7年', '8年', '9年', '10年'],
                                            tickLength: 0,
                                            labels: {
                                                style: {
                                                    fontWeight: 'bold'
                                                }
                                            },
                                            title: {
                                                text: '\uff08\u6bd5\u4e1a\u5e74\u6570\uff09', /*（毕业年数）*/
                                                align: 'high',
                                                offset: 0,
                                                rotation: 0,
                                                x: 72,
                                                y: 6,
                                                style: {
                                                    fontWeight: 'bold'
                                                }
                                            },
                                        },
                                        yAxis: {
                                            title: {
                                                text: '\uff08\u5355\u4f4d\uff1a\u5143\uff09', /*（单位：元）*/
                                                align: 'high',
                                                rotation: 0,
                                                offset: 0,
                                                y: -20,
                                                style: {
                                                    fontWeight: 'bold'
                                                }
                                            }
                                        },
                                        tooltip: {
                                            pointFormat: '<b>{point.y}</b>'
                                        },
                                        series: [
                            {color: '#33ccff',marker: {symbol: 'circle'},data: [3525.00,4325.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,4325.00,5113.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,5113.00,5756.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,5756.00,6370.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,null,6370.00,7185.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,null,null,7185.00,7856.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,null,null,null,7856.00,8800.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,null,null,null,null,8800.00,9766.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,null,null,null,null,null,9766.00,10161.00,]},{color: '#33ccff',marker: {symbol: 'circle'},data: [null,null,null,null,null,null,null,null,null,10161.00,{ y :9571.00,marker: { symbol: 'url(http://s.diyigaokao.com/v3/sprite/201603171554.png)',y: -10},dataLabels: {enabled: true,align: 'left',style: { fontSize: '20px', fontFamily: 'Arial',color: '#ff7700',textShadow: 'none',fontWeight: 'normal' }, overflow: 'hidden',  crop: false, x: 8,y: -5}}]}
                                        ]
                                    });
                                });
                            });
                        </script>



            <div class="analysis">
                <p class="subtitle">数据解读：</p>
                <p>1、应届毕业生指2016年毕业的学生，所有数据采集自2016年。</p>
                <p>2、平均薪酬为样本抽查中排第50%的样本的薪酬：薪酬的中间位数。不受特别高或特别低的薪酬影响。</p>
                <p>3、蓝色实线部分薪酬样本充足，可信度高。蓝色虚线部分薪酬样本较少，可信度较低。样本太少的年份不显示。</p>
                <p>4、留学人员、公务员、及高校医院国企等事业编制单位的薪酬样本较少。毕业超过五年的薪酬样本偏少，可能有偏差。</p>
            </div>
            <!-- 专业查询结果-平均薪酬 end -->
        </div>
    </div>
</div>
<script>
    Do.ready('http://s.diyigaokao.com/v3/script/plugin/highcharts.js', function () {
        //图表
        $(function () {
            $('#pie').highcharts({
                chart: {
                    plotBackgroundColor: null,
                    plotBorderWidth: null,
                    plotShadow: false,
                },
                title: {
                    text: '\u884c\u4e1a\u5206\u5e03',
                    style: {
                        fontWeight: 'bold',
                        fontSize: '14px',
                        fontFamily: 'Microsoft Yahei'
                    }
                },
                credits: {
                    enabled: false
                },
                legend: {
                    enabled: true,
                    itemMarginBottom: 10
                },
                tooltip: {
                    pointFormat: '<b>{point.percentage:.1f}%</b>'
                },
                plotOptions: {
                    pie: {
                        allowPointSelect: true,
                        cursor: 'pointer',
                        dataLabels: {
                            enabled: true,
                            format: '{point.percentage:.1f} %',
                            style: {
                                color: '#6d6d6d'
                            }
                        },
                        showInLegend: true
                    }
                },
                series: [{
                        type: 'pie',
                        data: [{ name:'影视/媒体/出版/印刷',y:48.0,sliced:true,selected:true,color:'#7db7ec'},{ name:'其他',y:32.0,color:'#6699ff'},{ name:'市场',y:7.0,color:'#99bbff'},{ name:'行政/后勤/文秘',y:6.0,color:'#ccddff'},{ name:'广告',y:4.0,color:'#e5eeff'},{ name:'运营',y:3.0,color:'#e1e1e3'}]
                    }]
            });
        });
        $(function () {
            var citycount = '386';

            $('#bar').highcharts({
                chart: {
                    type: 'bar',
                    height: citycount,
                },
                credits: {
                    enabled: false
                },
                legend: {
                    enabled: false
                },
                title: {
                    text: '城市分布',
                    margin: 70,
                    style: {
                        fontWeight: 'bold',
                        fontSize: '14px',
                        fontFamily: 'Microsoft Yahei',
                    }
                },
                xAxis: {
                    type: 'category',
                    categories: ['北京市','上海市','成都市','深圳市','广州市','武汉市','南京市','杭州市','郑州市','西安市'],
                    lineWidth: 0,
                    tickLength: 0,
                    gridLineWidth: 0
                },
                yAxis: {
                    lineWidth: 0,
                    gridLineWidth: 0,
                    labels: {
                        enabled: false
                    },
                    title: {
                        enabled: false
                    }
                },
                tooltip: {
                    formatter: function () {
                        return '\u5360\u6bd4\uff1a' + this.y + '%';
                    }
                },
                plotOptions: {
                    bar: {
                        borderColor: '#33ccff',
                        color: '#33ccff',
                        dataLabels: {
                            enabled: true,
                            format: '{y}%',
                            style: {
                                color: '#ff6600',
                                textShadow: 'none',
                            }
                        }
                    }
                },
                series: [{
                        data: [14.47,9.01,5.77,5.75,5.39,4.31,3.87,3.45,3.27,3.1]//条形图 数据
                    }]

            });

        });
    });

</script>
    </div>
    <div id="footer" class="grid-footer">




<div class="g-footer">
    <div class="friendlink cf">
        <dl>
            <dd><a href="/member/" title="前程规划系统" target="_blank">前程规划系统</a></dd>
            <dd><a href="/system/introduce" title="系统介绍" target="_blank">系统介绍</a></dd>
            <dd><a href="/careerplan" title="生涯规划" target="_blank">生涯规划</a></dd>
            <dd><a href="/learning" title="学习提升" target="_blank">学习提升</a></dd>
            <dd><a href="/zhiyuan" title="志愿填报" target="_blank">志愿填报</a></dd>
        </dl>
        <dl>
            <dd><a href="/system/report" title="媒体报道" target="_blank">媒体报道</a></dd>
            <dd><a href="/system/guwen" title="首席顾问" target="_blank">首席顾问</a></dd>
            <dd><a href="/system/team" title="专家团队" target="_blank">专家团队</a></dd>
            <dd><a href="/system/success" title="成功案例" target="_blank">成功案例</a></dd>
            <dd><a href="/system/comment" title="专家点评" target="_blank">专家点评</a></dd>
        </dl>
        <dl>
            <dd><a href="/news/list/gaokao" title="高考资讯" target="_blank">高考资讯</a></dd>
            <dd><a href="/news/list/policy" title="高招动态" target="_blank">高招动态</a></dd>
            <dd><a href="/news/list/college" title="院校资讯" target="_blank">院校资讯</a></dd>
            <dd><a href="/news/list/major" title="专业资讯" target="_blank">专业资讯</a></dd>
            <dd><a href="/news/list/edublog" title="“熊”视教育" target="_blank">"熊"视教育</a></dd>
        </dl>
        <dl>
            <dd><a href="/help/" title="帮助中心" target="_blank">帮助中心</a></dd>
            <dd><a href="/system/zhinan" title="使用指南" target="_blank">使用指南</a></dd>
            <dd><a href="/system/help" title="常见问题" target="_blank">常见问题</a></dd>
            <dd><a href="/buy/" title="在线购买" target="_blank">在线购买</a></dd>
            <dd><a href="/buy/query" title="购卡查询" target="_blank">购卡查询</a></dd>
        </dl>
        <dl>
            <dd><a href="/aboutus/us" title="关于我们" target="_blank">关于我们</a></dd>
            <dd><a href="/aboutus/contact" title="联系我们" target="_blank">联系我们</a></dd>
            <dd><a href="/aboutus/agent" title="合作咨询" target="_blank">合作咨询</a></dd>
            <dd><a href="/system/hezuo" title="合作伙伴" target="_blank">合作伙伴</a></dd>
            <dd><a href="/system/statement" title="免责声明" target="_blank">免责声明</a></dd>
        </dl>
        <div class="sns">
            <ul>
                <li class="wx"><small></small><em><i></i>扫官方微信</em></li>
                <li class="app"><a href="http://s.diyigaokao.com/app/appIntro.html?v05" target="_blank"><small></small><em><i></i>下载手机APP</em></a></li>
            </ul>
        </div>
    </div>

    <div class="copyright">
        <p>
            &copy;&nbsp;2017&nbsp;



                    <a href="http://www.diyigaokao.com/" title="第一高考网" target="_blank">www.diyigaokao.com</a>
                    All Rights Reserved. 远播教育集团旗下第一高考网版权所有，翻版必究


            &nbsp;&nbsp;&nbsp;&nbsp;
            <a href="http://www.miitbeian.gov.cn" target="_blank">沪ICP备07019113号</a>
        </p>
    </div>
</div>


<!----------------------------- 百度统计代码 begin ------------------------>
<!--旧统计代码-->
<!--<script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F6d907a31157f5e43fe5064d18853c980' type='text/javascript'%3E%3C/script%3E"));
</script> -->

<!--新统计代码-->
<script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?c03cf607642b008df6b5f827619af522";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
</script>
<!----------------------------- 百度统计代码 end ------------------------>

<!----------------------------- 360统计代码 begin ------------------------>
<script type="text/javascript" src="//s.union.360.cn/160906.js" async defer></script>
<!----------------------------- 360统计代码 end ------------------------>
    </div>
</body>
</html>
    '''

    # categories: ['应届', '1年', '2年', '3年', '4年', '5年', '6年', '7年', '8年', '9年', '10年'],9571.00

    categories = re.findall(r'categories:(.*?)]', str, re.S)
    arr_categories = categories[0].replace('[', '').strip().split(',')

    last_num = re.findall(r'y :(.*?),marker', str, re.S)

    arr_categories_val = []
    series = re.findall(r'data: (.*?)]', str, re.S)
    if len(series) > 3:
        for index,val in enumerate(series):
            if index <= len(series)-4:
                val = val.replace('[', '')
                arr_val = val.split(',')
                if index > len(arr_val)-1:
                    num = 0
                else:
                    num = arr_val[index]
                arr_categories_val.append(num)

            if index == len(series)-4:
                arr_categories_val.append(arr_val[index+1])
        if len(last_num) > 0:
            arr_categories_val.append(last_num[0])

    tmp3_array = []
    for index2,age in enumerate(arr_categories):
        if index2 > len(arr_categories_val)-1:
            num2 = 0
        else:
            num2= arr_categories_val[index2]
        tmp3_array.append(age+":"+num2)

    print(tmp3_array)

